package com.ctvit.sms.platform.domain;

import com.ctvit.common.BeanUtilEx;
import org.apache.commons.beanutils.BeanUtils;

/**
 * Created by LoreYun on 2016/4/28.
 */
public class OutsidePerson extends Person {

	public OutsidePerson(Person person) {
		super();

		if (person != null) {
			//拷贝新值
			try {
				BeanUtilEx.copyProperties(this, person);
			} catch (IllegalAccessException e) {
				e.printStackTrace();
			} catch (java.lang.reflect.InvocationTargetException e) {
				e.printStackTrace();
			}
		}
	}

	/**
	 * 曾用名
	 */
	private String formerName;

	public String getFormerName() {
		return formerName;
	}

	public void setFormerName(String formerName) {
		this.formerName = formerName;
	}

}
